import { ITableInit } from "@/components/base-ui/table";

export const tableInit: ITableInit = {
  propList: [
    // { prop: "sysUserId", label: "工号", minWidth: "150" },
    { prop: "account", label: "账号", minWidth: "100" },
    { prop: "name", label: "姓名", minWidth: "100" },
    { prop: "department", label: "部门", minWidth: "100" },
    { prop: "accounter", label: "职务", minWidth: "100" },
    { prop: "password", label: "密码", minWidth: "150" },
    { prop: "contactWay", label: "手机号码", minWidth: "100" },
    // { prop: "gding", label: "固定电话", minWidth: "100", },
    // { prop: "quanxian", label: "权限", minWidth: "100", },
    { prop: "operation", label: "操作", minWidth: "100", slot: "operation" }
  ],
  // children: {
  //   rowKey: "id",
  //   treeProp: {
  //     children: "children",
  //     hasChildren: true
  //   }
  // }
  // showIndex: false,
  // selection: false,
  cardStyle: {
    marginTop: "10px",
    border: "none"
  },
  height: 234,
  pagination: false,
  paginationConfig: {
    currentPage: 1,
    pageSize: 10
  },
  total: 0
  // btn: ['add', 'export', 'del']
};
